﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RepaymentRate.aspx.cs" Inherits="ReportMobile.v2.RepaymentRate" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title><%=repayYear %> 年借贷款到期还款率</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <link rel="Stylesheet" type="text/css" href="../css/bootstrap.min.css" />
    <link rel="Stylesheet" type="text/css" href="../css/style.css" />
    <script type="text/javascript" src="../js/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="../js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
    <p class="p1">截止：<%=daedTime %>，<%=areaName %> <%=repayYear %> 年借出欠款总额：</p>
    <h1><%=string.Format("￥{0:N}",rmbTotal) %></h1>
    <p class="p1">当年借出欠款占比：</p>
</div>
<div class="div_chart">

    <asp:Chart ID="chartRate" runat="server" Width="300px">
        <Legends>
            <asp:Legend Name="legRate">
            </asp:Legend>
        </Legends>
        <Series>
            <asp:Series Name="Series1" ChartType="Doughnut">
            </asp:Series>
        </Series>
        <ChartAreas>
            <asp:ChartArea Name="ChartArea1">
            </asp:ChartArea>
        </ChartAreas>
    </asp:Chart>
</div>

    <asp:Repeater ID="rptRate" runat="server">
    <HeaderTemplate>
    <table class="table">
    <tr>
        <td>公司/区域</td>
        <td>借出总额</td>
        <td>到期欠款</td>
        <td>到期已还</td>
        <td>还款率</td>
    </tr>
    </HeaderTemplate>
    <ItemTemplate>
        <tr>
            <td><%# Eval("公司简称") %></td>
            <td class="trNumber"><%# string.Format("{0:N}",Convert.ToDouble(Eval("借出总额")) / 10000) %></td>
            <td class="trNumber"><%# string.Format("{0:N}",Convert.ToDouble(Eval("到期借款")) / 10000) %></td>
            <td class="trNumber"><%# string.Format("{0:N}",Convert.ToDouble(Eval("已偿还到期金额")) /10000) %></td>
            <td class="trNumber"><%# string.Format("{0:0.00%}",Eval("还款率")) %></td>
        </tr>
    </ItemTemplate>
    <FooterTemplate>
    </table>
    </FooterTemplate>
    </asp:Repeater>
    <p class="alert alert-warning p1">单位：万元</p>
    <%=cm.DisplayMenuOfBottom() %>
</body>
</html>
